<h1>Tags - {$smarty.get.term}</h1>
<div id="tags">
{if count($data) < 1}<p>Sorry, nothing matching '{$smarty.get.term}'.</p>{/if}
<ul>
{section name=tloop loop=$data}
<li class="{$data[tloop].type}">
{if $data[tloop].type == 'article'}
<a href="index.php?mod=article&amp;id={$data[tloop].id}">
{else}
<a href="index.php?mod=news&amp;id={$data[tloop].id}&amp;type={$data[tloop].type}">
{/if}
{$data[tloop].title}</a></li>
{/section}
</ul>
</div>